package com.qf.student.service.impl;

import com.qf.student.entity.Classes;
import com.qf.student.mapper.ClassesMapper;
import com.qf.student.service.ClassessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author songfei
 * @Date 2021/10/7 18:49
 * @Version 1.0
 */
@Service
public class ClassessServiceImpl implements ClassessService {
    @Autowired
    private ClassesMapper classesMapper;
    @Override
    public List<Classes> findAll() {
        return classesMapper.selectByExample(null);
    }
}
